package 链表模拟实现;

public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList=new MyLinkedList();
        myLinkedList.addLast(22);
        myLinkedList.addLast(22);
        myLinkedList.addLast(3);
        myLinkedList.addIndex(1,56);
        myLinkedList.display();
        System.out.println(myLinkedList.contains(56));
        myLinkedList.removeAllKey(22);
        myLinkedList.display();
    }
}
